﻿using System;

namespace FamilyBook.Core.Entities
{
    public class User : IEntityStatus, IEntityVersionable
    {
        public int UserId { get; set; }
        public string Name { get; set; }
        public string Password { get; set; }
        public Person Owner { get; set; }

        #region IEntityStatus
        public EntityStatus Status { get; set; }
        #endregion

        #region IEntityVersionable
        public int Version { get; set; }
        public DateTime CreatedDate { get; set; }
        public DateTime UpdatedDate { get; set; }
        #endregion
    }
}
